package cn.tyf.domain;

import com.alibaba.excel.annotation.ExcelProperty;

import java.io.Serializable;

public class Record implements Serializable {
    @ExcelProperty("编码")
    private Integer vid;
    @ExcelProperty("卡号")
    private String rid;
    @ExcelProperty("姓名")
    private String name;  //额外
    @ExcelProperty("访问时间")
    private String   time;
    @ExcelProperty("门号")
    private Integer door;

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getDoor() {
        return door;
    }

    public void setDoor(Integer door) {
        this.door = door;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Record{" +
                "vid=" + vid +
                ", rid='" + rid + '\'' +
                ", time=" + time +
                ", door=" + door +
                '}';
    }
}
